package com.itheima.Test001;

//猫类是一个子类,继承animal;
public class Cat extends Animal {
    public Cat() {
    }

    public Cat(String name, int age, char sex) {
        super(name, age, sex);
    }

    public void method(){
        System.out.println("猫捉老鼠");
    }
}
